package com.xiaomei.manager.utils;

public class Constants {
	
	public static final String STRING_EMPTY = "";
	
	// 返回的操作状态
	public static final String RETURN_CODE_SUCCESS = "0"; //成功
	public static final String RETURN_CODE_ERROR = "-1"; //异常
	
	
	// 引导页状态
	public static final String LINKPAGE_STATE_ENABLE = "0"; //启用
	public static final String LINKPAGE_STATE_AISABLED = "1";//禁用
	
	//用户性别
	public static final String USER_SEX_BOY = "男"; // 男
	public static final String USER_SEX_GIRL = "女"; // 女
	
	//审核状态（0-编辑中 1-待审核 2-审核通过 3-审核失败）
	public static final Integer AUTHINFO_CHECKSTATE_EDITING = 0;
	public static final Integer AUTHINFO_CHECKSTATE_TREATMENT = 1;
	public static final Integer AUTHINFO_CHECKSTATE_TAIZHOUBOY = 2;
	public static final Integer AUTHINFO_CHECKSTATE_NOTPASS = 3;
	
	// 用户类型
	public static final String USER_TYPE_PASSENGER = "0"; // 乘客
	public static final String USER_TYPE_DRIVER = "1"; //司机
	
	// 附近的人搜索范围
	public static final Integer GEOHASH_LENGTH = 5;  // geoHash位数
	
	//用户提交的请求类型
	public static final Integer USER_REQUEST_PASSENGER = 0; //乘客请求
	public static final Integer USER_REQUEST_DRIVER = 1; //司机请求
	
	//订单操作表中的操作类型
	public static final String OPERATETYPE_INVITE = "0"; //邀请
	public static final String OPERATETYPE_BITE = "1"; //叮一下
	
	//广播状态
	public static final String BROADCAS_STATE_0 = "0"; //0:正常；
	public static final String BROADCAS_STATE_1 = "1"; //1:禁用；
	public static final String BROADCAS_STATE_2 = "2"; //2；删除; 
	public static final String BROADCAS_STATE_3 = "3"; //3:预发布
	
	
	//shiro
	public static final String CURRENT_USER = "sysUser";

	
	/************ 正式环境 ***************/
	// 极光推送
		public static final boolean PUSH_ENVIRONMENT = true;  // true:正式环境   false:生产环境
	// OSS bucket
		public static final String OSS_BUCKET_COMMON = "xm-chuxing-common";
		public static final String OSS_BUCKET_APP = "xm-chuxing-app";
		public static final String OSS_BUCKET_VIDEO = "xm-chuxing-video";
	
	/************ 测试环境 ***************/
/*	// 极光推送
	public static final boolean PUSH_ENVIRONMENT = false;  // true:正式环境   false:生产环境
	// OSS bucket
	public static final String OSS_BUCKET_COMMON = "xm-chuxing-common-test";*/
}
